﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PocketMahjong.Core
{
	public struct Cell
	{
		private Position _position;
		public Position Position
		{
			get { return _position; }
			set { _position = value; }
		}

		private Tile _tile;
		public Tile Tile
		{
			get { return _tile; }
			set { _tile = value; }
		}

		public Cell(Position pos, Tile tile)
		{
			_position = pos;
			_tile = tile;
		}

		public override string ToString()
		{
			return string.Format("{0} = {1}", Position, Tile);
		}
	}
}
